# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        博智科技  
# Name:         demo1114
# Description:
# Author:       yzl
# Date:         2019-02-07
#-------------------------------------------------------------------------------

import re

s = 'bin.'

m = re.match(s,'bind')
if m is not None:
    print(m.group())
print(m)

m = re.search(s,'<bind>')
if m is not None:
    print(m.group())
print(m)

